package com.feidee.bigdata.service.impl;

import com.feidee.bigdata.dao.AccountDao;
import com.feidee.bigdata.domian.Account;
import com.feidee.bigdata.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * @Author:CHQ
 * @Date:2020/5/11 18:40
 * @Description
 */
@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    private AccountDao accountDao;

    @Override
    public void decrease(Long userId, Long money) {
        accountDao.decrease(userId,money);
    }
}
